// import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'


import router from './router'
import 'normalize.css'
import { Button } from 'vant';
import 'vant/lib/index.css';
import { Search } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { Grid, GridItem } from 'vant';
import { BackTop } from 'vant';
import { Tabbar, TabbarItem } from 'vant';
import { Col, Row } from 'vant';
import { NavBar } from 'vant';
import { ActionBar, ActionBarIcon, ActionBarButton } from 'vant';
import { Loading } from 'vant';
import { PullRefresh } from 'vant';
import { List } from 'vant';
import { Cell } from 'vant';
import { Empty } from 'vant';  // 添加这行引入Empty组件
// 添加以下缺失组件的引入
import { Checkbox } from 'vant';
import { Icon } from 'vant';
import { Tag } from 'vant';
import { Image } from 'vant';
import { Stepper } from 'vant';
import { Dialog } from 'vant';


import { Form, Field, CellGroup } from 'vant';

const app = createApp(App)
app.use(Form);
app.use(Field);
app.use(CellGroup);
app.use(Button);
app.use(Search);
app.use(Swipe);
app.use(SwipeItem);
app.use(Grid);
app.use(GridItem);
app.use(BackTop);
app.use(Tabbar);
app.use(TabbarItem);
app.use(Col);
app.use(Row);
app.use(NavBar);
app.use(ActionBar);
app.use(ActionBarIcon);
app.use(ActionBarButton);
app.use(Loading);
app.use(PullRefresh);
app.use(List);
app.use(Cell);
app.use(Empty);  // 添加这行注册Empty组件
// 添加以下缺失组件的注册
app.use(Checkbox);
app.use(Icon);
app.use(Tag);
app.use(Image);
app.use(Stepper);
app.use(Dialog);
app.use(router)

app.mount('#app')
